package mil.af.amc.adpetracker.web.actions.Account.ajax;

import mil.af.amc.adpetracker.service.AdpeAccountService;
import mil.af.amc.adpetracker.web.actions.AbstractAction;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Please Fill in this Javadoc
 *
 * @author TSgt Jason Ferguson
 */

public class RemoveAdpeAccountAction extends AbstractAction {

    private static final Log log = LogFactory.getLog(RemoveAdpeAccountAction.class);

    private AdpeAccountService adpeAccountService;

    public void setAdpeAccountService(AdpeAccountService adpeAccountService) {
        this.adpeAccountService = adpeAccountService;
    }

    @Override
    public ActionForward execute(ActionMapping actionMapping, ActionForm actionForm, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) throws Exception {

        int accountId = Integer.parseInt(httpServletRequest.getParameter("accountId"));
        int adpeAccountId = Integer.parseInt(httpServletRequest.getParameter("adpeAccountId"));


        return actionMapping.getInputForward();


    }
}
